<?php
/**
 * Class for displaying a javascript alert
 */
class Messagebox{
   
   /**
    * Display a JavaScript alert dialog box.
    * @param string $message The message to display 
    */
   public static function Show($message){
     $message = addslashes($message);
      echo "
         <script type='text/javascript'>
            alert('$message');
         </script>
         ";
   }
   
}
?>
